﻿/* general */
.overlay
{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 100;
    background-image: url(../images/overlay.png);
}

.custom-overlay
{
    z-index: 1000 !important;
}

.dialog
{
    z-index: 500;
    position: fixed;
    background-color: #fff;
    
    -webkit-box-shadow:  0px 3px 3px 0px rgba(0, 0, 0, 0.3);        
    box-shadow:  0px 3px 3px 0px rgba(0, 0, 0, 0.3);

    border-radius: 2px;
}

.custom-dialog
{
    z-index: 1000 !important;
}

.dialog > .dialog-header
{
    -webkit-border-radius: 2px 2px 0px 0px;
    border-radius: 2px 2px 0px 0px;
    margin: 0;        
    font-size: 1.25em;
    vertical-align:middle;
    font-weight: 500;
    padding: 10px;
    background: rgb(85,160,185);
    border-bottom: 1px solid rgb(170,170,170);
    color: #fff; 
}

.dialog > .dialog-header > *
{
    display: inline-block;
    vertical-align: middle;
}

.dialog .dialog-header span
{
    display: inline-block;
    min-height: 16px;
    vertical-align: middle;
}

.dialog > .dialog-container
{

}


/* selection dialog*/
.selectionDialog
{
    width: 500px;
}

.selectionDialog > .dialog-header
{   
    border-bottom: 0 none;
    
    margin-bottom: 0;
}

.selectionDialog > .dialog-content > div.floatcontainer
{
    position: relative;
    display: inline-block;
    width: 50%;
    float: left;    
    
    height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 0 0 2px 2px;
}

.selectionDialog > .dialog-content > .container-header
{
    padding: 5px;
    background-color: rgb(240,240,240);
    border-bottom: 1px solid rgb(170,170,170);
}

.selectionDialog > .dialog-content > .container-header > .dialog-count
{
    margin-left: 10px;
}

.selectionDialog > .dialog-content > .container-header > .container-input
{
    position: relative;
    float: right;
}

.selectionDialog > .dialog-content > .container-header > .container-input> input[type=text]
{
    padding: 2px 5px;
    margin: 0;
    width: 200px;
}


.selectionDialog > .dialog-content > .floatcontainer > .container-center
{
    text-align: center;
    font-weight: bold;
}

.selectionDialog > .dialog-content > .container-header > [class^="icon-ibs"],
.selectionDialog > .dialog-content > .container-header > [class*="icon-ibs"]
{
    cursor: pointer;
    padding: 3px;
    border: 1px solid #eee;
    background-position: center center;
    margin: 0;
    border-radius: 2px;
    box-sizing: border-box;
    height: 20px;
    width: 20px;
}

.selectionDialog > .dialog-content > .container-header > [class^="icon-ibs"]:hover,
.selectionDialog > .dialog-content > .container-header > [class*="icon-ibs"]:hover
{
    border: 1px solid #ccc;    
}
.selectionDialog > .dialog-content > .container-header > [class^="icon-ibs"]:active,
.selectionDialog > .dialog-content > .container-header > [class*="icon-ibs"]:active
{
    box-shadow: 0 1px 1px 0 rgba(0,0,0,0.3); 
}

.selectionDialog > .dialog-content > .container-header > *
{
    vertical-align: middle;
}


.selectionDialog > .dialog-content > .floatcontainer > div
{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.selectionDialog > .dialog-content > .floatcontainer > div,
.selectionDialog > .dialog-content > .floatcontainer > ul.selectionList
{
    margin: 0;
    padding: 0;
    list-style-type: none;
    height: 100%;
}

.selectionDialog > .dialog-content > .floatcontainer > div,
.selectionDialog > .dialog-content > .selectioncontainer > ul.selectionList
{
    border-right: 1px solid #ccc;  
}

.selectionDialog > .dialog-content > .floatcontainer > div,
.selectionDialog > .dialog-content > .floatcontainer > ul.selectionList > li
{
    padding: 5px 10px;
    white-space: nowrap;
}

.selectionDialog > .dialog-content > .floatcontainer > ul.selectionList > li
{  
    cursor: pointer;
}

.selectionDialog > .dialog-content > .floatcontainer > ul.selectionList > li:nth-of-type(2n)
{
    background-color: #33FFFF;
}

.selectionDialog > .dialog-content > .floatcontainer > ul.selectionList > li:hover
{
    background-color: rgb(0, 136, 204);
    color: #fff;
}

.selectionDialog-buttons
{
    position: absolute;
    width: 100%;
    bottom: 0;
    vertical-align: middle;
    border-top: 1px solid #ccc;
}

.selectionDialog-buttons > button.btn
{
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    padding: 10px 0;
    cursor: pointer;

    box-shadow: none;
    border-radius:0; 
    border: 0 none;

    background: #eee;

    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-right: 1px solid #ccc;  
    
    height: auto;  
}

.selectionDialog-buttons > button:first-of-type
{
    border-bottom-left-radius: 2px;
}

.selectionDialog-buttons > button:last-of-type
{
    border-bottom-right-radius: 2px;
    border-right: 0 none;
}

/* Selection dialog container */

ul.selectionDialogContainer
{
    background: url(../images/icons/newwindow.png) no-repeat right top;
    cursor: pointer;
    border: 1px solid #CCCCCC;

    padding: 0 5px;

    border-radius: 2px;

    background-color: #FFFFFF;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    -moz-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    -o-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    -webkit-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;

    color: #555;
    margin: 0 0 5px 0;
    line-height: 28px;
    list-style-type: none;
    min-height: 30px;
}

.input-group .selectionDialogContainer
{
    border-radius: 2px 0 0 2px;
}

.input-prepend .selectionDialogContainer
{
    border-radius: 0 2px 2px 0;
}

.simpleSelectionDialogContainer
{
    background: url(../images/icons/newwindow.png) no-repeat right top;
    display: inline-block;
    height: 16px;
    width: 16px;
    cursor: pointer;
}

.selectionDialogContainer[disabled]
{
    background-color: #eee;
}

.selectionDialogContainer > li
{
    list-style-type: none;
}

.selectionDialogContainer > li:nth-of-type(even)
{
    background-color: #33FFFF;
}

.singleSelectionDialogContainer
{
}

.singleSelectionDialogContainerSmall
{
    background: url(../images/icons/newwindow.png) no-repeat right top;
    height: 20px;
    width: 20px;
    cursor: pointer;
    float: right;
}

.multiSelectionDialogContainer
{
    height: 120px !important;
    overflow-y: auto;
    padding: 0;
}

.multiSelectionDialogContainer > li
{
    padding: 5px;
}

/* link dialog */
.linkDialog
{
    min-width: 300px;
    min-height: 200px;
}

.linkDialog > .dialog-container
{
    padding: 10px;
}

/* alert dialog */

.alertDialog > .dialog-header span
{
    background: url(../images/icons/about.png) no-repeat left center;
    padding-left: 20px;
}

.alertDialog .dialog-container
{
    padding: 10px;
    min-height: 50px;
    min-width: 200px;
}

/* localization dialog */
.localizationDialog > .dialog-header span
{
    background: url(../images/icons/earth2.png) no-repeat left center;
    padding-left: 20px;
}

.localizationDialog .dialog-container
{
    padding: 10px;
    width: 400px;
}

/* confirm dialog */
.confirmDialog
{
    width: 400px;
}

.confirmDialog > .dialog-header span
{
    background: url(../images/icons/about.png) no-repeat left center;
    padding-left: 20px;
}


.confirmDialog .dialog-container
{
    padding: 10px;
}

/* custom dialog */
.customDialog
{
    top: 20% !important;
    max-width: 1000px;
    overflow: auto;
}

.customDialog > .dialog-container {
    max-height: 500px;
    overflow: auto;
}

.customSelect 
{
    border: 1px solid rgb(204, 204, 204); 
    width: 100%; 
    background-color: rgb(255, 255, 255);
    margin: 0px 0px 0px 0px;
}

.customInput
{
    border: 1px solid rgb(204, 204, 204) !important; 
    width: 90% !important; 
    background-color: rgb(255, 255, 255) !important;
    margin: 0px 0px 0px 0px !important;
    margin-bottom: 0px !important;
}

.customCenteredColumn
{
    text-align: center !important;
    vertical-align: middle !important;
}

.customButton {
    display: inline-block;
}

.customDialog > .dialog-header span
{
    background: url(../images/icons/about.png) no-repeat left center;
    padding-left: 20px;
}

.customDialog .dialog-container
{
    padding: 10px;
}

/* error dialog */
.errorDialog .dialog-container
{
    padding: 10px;
}

.errorDialog > .dialog-header span
{
    background: url(../images/icons/bug.png) no-repeat left center;
    padding-left: 20px;
}

.errorDialog .errorText
{
    margin-top: 10px;
    border: 1px solid #ccc;
    background-color: skyblue;
    padding: 5px;
    max-width: 500px;
    max-height: 500px;
    overflow: auto;
}

/* loading dialog */
.loadingDialog
{
    text-align: center;
    min-height: 50px;
    min-width: 200px;
    padding: 50px 30px 10px 30px;
    background: #fff url(../images/ring-small.gif) no-repeat center 15px;    
    
    -webkit-box-shadow: 4px 4px 4px 0 rgba(0,0,0,0.25);
    box-shadow: 4px 4px 4px 0 rgba(0,0,0,0.25);
}

/* activeemoperationdialog */
.activeemoperationdialog
{
    height: 450px;
    width: 350px;
    font-size: 12px;
}
.activeemoperationdialog .dialog-container
{
    padding: 10px;
}

/* Helpdesk */
.HelpdeskDialog > .dialog-header span
{
    background: url(../images/icons/doc_upload_info_png.png) no-repeat left center;
    padding-left: 20px;
}

/* Audit Trail Loggin */
.auditTrailLogginDialog
{
    width: 700px;
}

.auditTrailLogginDialog > .dialog-container
{
    height: 400px;
    overflow-y: auto;
}

/* Save filter dialog */
.saveFilterDialog
{
    -webkit-border-radius: 2px;    
    border-radius: 2px;
}

.saveFilterDialog > .dialog-header
{    
    -webkit-border-radius: 2px 2px 0 0;
    border-radius: 2px 2px 0 0;
}

.saveFilterDialog > .dialog-container
{    
    padding: 10px 10px 15px 10px;
    
    -webkit-border-radius: 0 0 2px 2px;    
    border-radius: 0 0 2px 2px;
}

.saveFilterDialog > .dialog-container p
{    
    margin: 0 0 10px 0;
    text-align: center;
    font-weight:bold;
}

.saveFilterDialog button
{
    margin: 0 10px;
}

/*
    Userselectiondialog
*/
.userSelectionDialog
{
    width: 800px;
}

.userSelectionDialog .container-content
{
    height: 500px;
    overflow: hidden;
    font-size: 0.9em;
}

@media screen and (max-height: 768px) {
    .userSelectionDialog .container-content
    {
        height: 250px !important;
    }
}

@media screen and (max-width: 1024px) {
    .userSelectionDialog
    {
        width: 500px !important;
    }

    .userSelectionDialog .container-content .selection-grid-container
    {
        width: 49.8% !important;
    }
}

.userSelectionDialog .container-content .span5
{
    height: 100%;
}

.userSelectionDialog .container-content .selection-grid-container
{
    height: 100%;
    width: 399px;
    overflow: auto;
    border-right: 1px solid #ccc;
    display: inline-block;
}

.userSelectionDialog table.selection-grid
{
    width: 100%;
}

.userSelectionDialog table.selection-grid > thead > tr > th
{
    background-color: rgb(220,220,220);
    padding: 5px 10px;
    border-right: 1px solid rgb(170,170,170);
    text-align:left;
    white-space: nowrap;
    border-bottom: 1px solid rgb(170,170,170);
    min-width: 100px;
}

.userSelectionDialog table.selection-grid > thead > tr > th.sortAsc{
    background-image: url(../images/icons/sort_asc.png);
    background-repeat: no-repeat;
    background-position: center right;    
    background-position-x: calc(100% - 4px);
    
}

.userSelectionDialog table.selection-grid > thead > tr > th.sortDesc {
    background-image: url(../images/icons/sort_desc.png);
    background-repeat: no-repeat;
    background-position: center right;    
    background-position-x: calc(100% - 4px);
}

.userSelectionDialog table.selection-grid > thead > tr > th:last-of-type {
        border-right: 0 none;
}

.userSelectionDialog table.selection-grid > thead > tr > td > input[type=text]
{
    border: 1px solid rgb(170,170,170);
    border-radius: 0;
    border-right: 0 none;
    border-top: 0 none;
    margin: 0;
}

.userSelectionDialog table.selection-grid > thead > tr > td:first-of-type > input[type=text]
{
    border-left: 0 none;
}

.userSelectionDialog table.selection-grid > tbody > tr > td
{
    cursor: pointer;
}

.userSelectionDialog table.selection-grid > tbody > tr > td
{
    white-space: nowrap;
    padding: 5px 10px;
    border-bottom: 1px solid rgb(170,170,170);
    border-right: 1px solid rgb(170,170,170);
}

.userSelectionDialog table.selection-grid > tbody > tr:nth-of-type(odd) > td
{
    background-color: rgb(240,240,240);
}

.userSelectionDialog table.selection-grid > tbody > tr:hover > td
{
    background-color: rgb(0, 136, 204);
    color: #fff;
}

.userSelectionDialog table.selection-grid > tbody > tr > td:last-of-type
{
    border-right: 0 none;
}


.userSelectionDialog table.selection-grid > tbody > tr:last-of-type > td
{
    border-bottom: 0 none;
}

.userSelectionDialog .selection-grid-container-selected
{
    border-right: 0 none;
    margin-left: -3px;
}

.userSelectionDialog .dialog-footer
{
    border-top: 1px solid #ccc;
    background: rgb(240,240,240);
    padding: 10px;
    border-radius: 0 0 2px 2px;
}